package com.kingland.neusoft.course.mapper;

import com.kingland.neusoft.course.mapper.dao.BorrowList;
import com.kingland.neusoft.course.mapper.dao.BorrowModel;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
public interface BorrowMapper {
    int addBorrowInfo(BorrowModel borrowModel);
    int deleteBorrowInfoByBorrowId(Long borrowId);
    List<BorrowList> selectBorrowUserById(Long id);
    Integer count();
}
